<?php
class Battle{
    private $user_one;
    private $user_two;
    private $battle_id;
    private $winner;

    function __construct($battle_id, $user_one, $user_two){
        $this->setBattleId($battle_id);
        $this->setUserOne($user_one);
        $this->setUserTwo($user_two);
        $this->winner = "";
    }

    public function getUserOne(){
        return $this->user_one;
    }

    public function getUserTwo(){
        return $this->user_two;
    }

    public function getBattleId(){
        return $this->battle_id;
    }

    public function getWinner(){
        return $this->winner;
    }

    public function setUserOne($user_one){
        $this->user_one = $user_one;
    }

    public function setUserTwo($user_two){
        $this->user_two = $user_two;
    }

    public function setBattleId($battle_id){
        $this->battle_id = $battle_id;
    }

    public function setWinner($winner){
        $this->winner = $winner;
    }
}
?>